
$(".del").on("click",function(){
	var obj = $(this);
	var userId = obj.attr("userId");
	window.location.href="/AppInfoSystem/back/delUser?userId="+userId
});
$(".reCheck").on("click",function(){
	var obj = $(this);
	var userId = obj.attr("userId");
	var devId = obj.attr("devId");
	var status = obj.attr("status")
	var msg = ""
	if (status == -1){
		msg = "未审核"
	}
	if (status > 0){
		msg = "已通过审核"
	}
	if(status == "0" ){//待审核状态下才可以进行审核操作
		window.location.href="/AppInfoSystem/back/reCheck?userId="+ userId + "&devId="+ devId
	}else {
		alert("该用户的状态为：【"+msg+"】,不能进行重新审核操作！");
	}
});
$(".add").on("click",function(){
	window.location.href="/AppInfoSystem/back/toAddUser"
});